<h1>Focus sur un incident</h1>

<fieldset>
	<legend> Focus sur l'incident n&deg;<%=h @incident.type_incident_id %> </legend>
	<table>
		
		<tr>
			<td>
			  <b>Id machine:</b>
			</td>

			<td>
			  <%=h @incident.machine.nom_machine %>
			</td>
		</tr>
		<tr>
			<td>
			  <b>Id type incident:</b>
			</td>

			<td>
			  <%=h @incident.type_incident.designation %>
			</td>
		</tr>
		<tr>
			<td>
			  <b>Info compl&eacute;mentaire:</b>
			</td>

			<td>
			  <%=h @incident.info_complementaire %>
			</td>
		</tr>
		<tr>
			<td>
			  <b>Date detection:</b>
			</td>

			<td>
			  <%=h @incident.date_detection %>
			</td>
		</tr>
		<tr>
			<td>
			  <b>Date resolution:</b>
			</td>

			<td>
			  <%=h @incident.date_resolution %>
			</td>
		</tr>
		<tr>	
			<td>
				<%= link_to 'Modifier', edit_incident_path(@incident) %> 
			</td>
			<td>
				<%= link_to 'Afficher', incidents_path %>
			</td>
		</tr>
	</table>

</fieldset>